package com.ml.mall.service.category;

import com.ml.mall.bean.page.Page;
import com.ml.mall.bean.req.category.SuggestedCategoryNewDto;
import com.ml.mall.bean.req.category.SuggestedCategoryQueryPageDto;
import com.ml.mall.bean.res.category.SuggestedCategoryQueryPageRes;
import com.ml.mall.entity.category.SysSuggestedCategory;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface SysSuggestedCategoryService extends IService<SysSuggestedCategory> {

    /**
     * 创建推荐目录
     * @param dto
     * @return
     */
    Boolean createSuggestedCategory(SuggestedCategoryNewDto dto);

    /**
     * 分页查询推荐目录
     * @param dto
     * @return
     */
    Page<SuggestedCategoryQueryPageRes> queryPage(SuggestedCategoryQueryPageDto dto);
}
